Example:
This is an example of HTML.
Example:
body { background-color: lightblue; text-align: center; } h1 { color: darkblue; font-size: 2em; }
Example:
function showMessage() { alert("Hello! Welcome to my website."); }
Use in html
Example (Using Bootstrap Button & Card):
Example (Simple HTTP Server in Node.js):
const http = require('http'); const server = http.createServer((req, res) => { res.writeHead(200, { 'Content-Type': 'text/plain' }); res.end('Hello, Node.js Server!'); }); server.listen(3000, () => { console.log('Server running on http://localhost:3000'); });
Example (Creating a Table & Inserting Data):
CREATE TABLE users ( id INT PRIMARY KEY AUTO_INCREMENT, name VARCHAR(50), email VARCHAR(50) ); INSERT INTO users (name, email) VALUES ('John Doe', 'john@example.com');